<?php

// $Id$

require_once(TANGRA_MAIN_DIR.'form/fields/file/form_field_file_view.class.php');
require_once(TANGRA_MAIN_DIR.'form/guardable_form_view.class.php');


class Image_Upload_Form_View extends Guardable_Form_View {
	function __construct(Form &$form) {
		parent::__construct($form);

		$f_image = $form->get_field('image');
		$f_image_view = new Form_Field_File_View($form->get_name().'_'.$f_image->get_name(), $f_image);
		$this->add_field_view('image', $f_image_view);
	}
}